{* Template Name:公共头部 *}
<!doctype html>
<html>
<head>
{template:header}
</head>
<body>
  <header>
  {template:navbar}
  </header>
  <div class="container">
    <div class="top">
      <div class="left">
        <!-- 请设置轮播图容器的高度 -->
        <div id="vsCarousel" class="vsCarousel m-show">
            <!-- 轮播图元素列表 -->
            <ul class="vsCarousel-wrapper">
                <li class="vsCarousel-slide"><img src="{$host}zb_users/theme/{$theme}/style/images/banner1.jpg" alt="1"></li>
                <li class="vsCarousel-slide"><img src="{$host}zb_users/theme/{$theme}/style/images/banner2.jpg" alt="2"></li>
                <li class="vsCarousel-slide"><img src="{$host}zb_users/theme/{$theme}/style/images/banner3.jpg" alt="3"></li>
            </ul>
            <!-- 前进后退按钮 -->
            <div class="vsCarousel-button">
                <button class="vsCarousel-button-prev"></button>
                <button class="vsCarousel-button-next"></button>
            </div>
            <!-- 分页器 -->
            <div class="vsCarousel-page">
                <button class="vsCarousel-page-play"></button>
                <button class="vsCarousel-page-button" data-index="1"></button>
                <button class="vsCarousel-page-button" data-index="2"></button>
                <button class="vsCarousel-page-button" data-index="3"></button>
            </div>
        </div>
      </div>
      <div class="right">
        <div class="right-top">
          <img src="{$host}zb_users/theme/{$theme}/style/images/individualModule.jpg" alt="">
        </div>
        <div class="right-center">
          <p>{$name}</p>
          <p class="subname">{$subname}</p>
          <p class="qqwx">
            {if $zbp->Config('acmeContract')->isQQ == '1'}
            <span>
              <img src="{$host}zb_users/theme/{$theme}/style/images/qq.png" alt="1">{$zbp->Config('acmeContract')->QQNUM}
            </span>
            {/if}
            {if $zbp->Config('acmeContract')->isWX == '1'}
            <span>
              <img src="{$host}zb_users/theme/{$theme}/style/images/wx.png" alt="1">{$zbp->Config('acmeContract')->WXNUM}
            </span>
            {/if}
          </p>
        </div>
        <div class="right-bottom">
            <ul>
              <li><p>{$zbp->cache->all_article_nums}</p><p class="name">文章数</p></li>
              <li><p>{$zbp->cache->all_tag_nums}</p><p class="name">标签数</p></li>
              <li><p>{$zbp->cache->all_view_nums}</p><p class="name">浏览数</p></li>
            </ul>
        </div>
        <div class="headPortrait">
          <img src="{$host}zb_users/theme/{$theme}/style/images/tx.jpg" alt="">
        </div>
      </div>
    </div>
    <div class="bottom">
      <div class="bodyThe">
        <ul class="list">
          {foreach $articles as $article}
          {if $article.TopType}
          {template:post-istop}
          {else}
          {template:post-multi}
          {/if}
          {/foreach}
        </ul>
        {template:pagebar}
      </div>
      <div class="sidebar">
        {if $type=='index'}
        {template:sidebar}
        {elseif $type=='category'}
        {template:sidebar2}
        {else}
        {template:sidebar6}
        {/if}
      </div>
    </div>
    <div class="footer">
      <p>{$copyright}</p>
      <p>Powered By {$zblogphphtml}</p>
    </div>
  </div>
  <a href="#" title="返回顶部" class="icon-top"></a>
</body>
</html>
